package com.wqiuqiu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wqiuqiu.common.PageUtils;
import com.wqiuqiu.gulimall.product.entity.AttrEntity;
import com.wqiuqiu.gulimall.product.entity.AttrGroupEntity;
import com.wqiuqiu.gulimall.product.vo.RelGroupAndAttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author wqiuqiu
 * @email 18773489795@163.com
 * @date 2023-11-27 14:08:57
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrEntity> findAttrList(Long attrgroupId);

    PageUtils queryNoRelAttrPage(Map<String, Object> params, Long attrgroupId);

    List<RelGroupAndAttrVo> queryRelGroupAndAttr(Long catelogId);
}

